<?php /* Smarty version 2.6.18, created on 2009-05-07 07:02:42
         compiled from ua-admin/job_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'ua-admin/job_index.html', 27, false),array('modifier', 'date_format', 'ua-admin/job_index.html', 32, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<title>控制台_<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/general.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
</head>

<body>
<!-- 位置 -->
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide"><tr><td>
<div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">系统设置首页</a>&nbsp;&raquo;&nbsp;企业招聘信息管理</div></td></tr>
</table>
<br />
<!-- 标题 -->
<form name="listfrm" action="<?php echo $_SERVER['PHP_SELF']; ?>
" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header" align="center"><td><input type="checkbox" name="idAll" onClick="uaCheckAll(this, 'id[]')" title="全选"></td>
<td><span>职位名称</span></td>
<td><span>招聘单位</span></td>
<td>状态</td>
<td><span>发布时间</span></td>
<td><img onClick="collapse_change('1')" id="menuimg_1" src="./images/menu_reduce.gif" border="0"  align="absmiddle" /></td></tr>
<tbody id="menu_1" style="display: yes">
<?php $_from = $this->_tpl_vars['RecordList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['jobsres'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['jobsres']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['j']):
        $this->_foreach['jobsres']['iteration']++;
?>
<tr bgcolor="<?php echo smarty_function_cycle(array('values' => "#eeeeee,#ffffff"), $this);?>
" align="center">
<td><input type="checkbox" name="id[]" value="<?php echo $this->_tpl_vars['j']['JobId']; ?>
" onClick="uaCheckItem(this, 'idAll')"></td>
<td><?php echo $this->_tpl_vars['j']['JobName']; ?>
<?php if ($this->_tpl_vars['j']['JobCreated'] > $this->_tpl_vars['Today']): ?>&nbsp;<img src="./images/new2.gif" /><?php endif; ?></td>
<td><?php echo $this->_tpl_vars['j']['CompanyName']; ?>
</td>
<td><?php echo $this->_tpl_vars['CheckStatus'][$this->_tpl_vars['j']['JobStatus']]; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['j']['JobCreated'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d") : smarty_modifier_date_format($_tmp, "%Y-%m-%d")); ?>
</td>
<td><a href="<?php echo $_SERVER['PHP_SELF']; ?>
?action=view&id=<?php echo $this->_tpl_vars['j']['JobId']; ?>
"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/preview.gif" border="0" alt="预览"></a>&nbsp;<a href="<?php echo $_ENV['PHP_SELF']; ?>
?action=del&id=<?php echo $this->_tpl_vars['j']['JobId']; ?>
"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/delete.gif" border="0" alt="删除"></a></td>
</tr>
<?php endforeach; else: ?>
<tr bgcolor="#ffffff">
<td colspan="7">目前没有任何数据</td>
</tr>
<?php endif; unset($_from); ?>
</tbody>
<!-- 分页 -->
<tr align="center"><td class="altbg1" colspan="7"><?php echo $this->_tpl_vars['ByPages']; ?>
</td></tr>
<tr class="header" bgcolor="#ffffff">
<td colspan="6"><select name="ua_action" id="ua_action" class="actionsel" onChange="javascript:document.listfrm.submit()">
<optgroup label="审核">
<option value="0">操作列表</option>
<option value="1">审核通过</option>
<option value="2">审核不通过</option>
<option value="none">等待审核</option>
<option value="3">无效</option>
</optgroup>
<optgroup label="其他">
<option value="del">删除</option>
</optgroup>
</select>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>

<!-- 结束 -->
</body>
</html>